package com.jinke.api.modules.app.controller.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

/**
 * 用户登录参数
 * Created by macro on 2018/4/26.
 */
@Getter
@Setter
public class UserRegisterParam {
    @Email
    @ApiModelProperty(value = "邮箱")
    private String email;
    @NotNull
    @ApiModelProperty(value = "电话")
    private String phone;

    private String countryCode;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @NotNull
    @ApiModelProperty(value = "公司")
    private String company;

    @NotNull
    @ApiModelProperty(value = "密码")
    private String password;
    @NotNull
    @ApiModelProperty(value = "姓")
    private String firstName;
    @NotNull
    @ApiModelProperty(value = "名")
    private String lastName;
    @ApiModelProperty(value = "微信号")
    private String wxId;
    @ApiModelProperty(value = "短信验证码")
    private String smsCode;
    @ApiModelProperty(value = "邀请码")
    private String invitationCode;
}
